xenstore-chmod: handle arbitrary number of perms rather than MAX_PERMS constant
authorChunyan Liu <cyliu@suse.com>
Tue, 27 Nov 2012 14:13:38 +0000 (14:13 +0000)
committerChunyan Liu <cyliu@suse.com>
Tue, 27 Nov 2012 14:13:38 +0000 (14:13 +0000)
commit3ffb163212caab8b2ce3dbb29fb1ab41219ddfe8
treea02852363dfdc5b3cae802ce682c82e9a80f88c4
parent84628ee52a427b0f0fe50502eb8ffd0eedad0f03
xenstore-chmod: handle arbitrary number of perms rather than MAX_PERMS constant

Constant MAX_PERMS 16 is too small to use in some occasions, e.g. if
there are more than 16 domU(s) on one hypervisor (it's easy to
achieve) and one wants to do xenstore-chmod PATH to all domU(s). So,
remove MAX_PERMS limitation and make it as arbitrary number of perms.

Signed-off-by: Chunyan Liu <cyliu@suse.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
tools/xenstore/xenstore_client.c